null check

英 [nʌl tʃek] 美 [nʌl tʃek]

【计】零检验

计算机



双语例句

  1. Specifying this constraint through annotations means I no longer need to litter my code with repetitive conditionals that check for null and throw an exception on finding it.
    通过标注指定这个约束条件意味着我的代码不再会被重复的条件弄得乱七八糟,这些条件检查null值,并且一旦找到该值就会抛出异常。
  2. When you want to determine whether a given row includes a comment, you no longer need to check for a null value in the COMMENT column.
    确定某一个行是否包含注释时,不再需要检查COMMENT列的null值。
  3. We must remember to check for listFiles() returning null and turn that into an empty array.
    我们必须记得要检查listFiles()是否返回null,然后使其变成空数组。
  4. In Oracle10g, if there is a BEFORE INSERT TRIGGER and a NOT NULL constraint on a table, then the BEFORE TRIGGER is executed first, and then the constraint check is performed.
    在Oracle10g中,如果表上同时存在BEFOREINSERT触发器和NOTNULL约束,那么先执行BEFORE触发器,然后执行约束检查。
  5. Next, check to make sure the username was entered and is not null.
    然后,检查并确保输入的用户名不为null。
  6. It returns NULL, defined in stdio. h, for either error or EOF [ end-of-file]; after the loop, we check for which one occurred.
    对于错误或EOF[文件结束],它都返回NULL,这是在stdio.h中定义的;循环结束后,我们会检查究竟是哪种情况。
  7. Additional code could be added to perform a check to see if the new value is a user-defined value indicating that the database value should be set to NULL or the default value defined for the column.
    可以添加额外的代码来执行一个检查,检查新值是不是一个用户定义值,用以表明数据库值应该被设置为NULL或针对该列定义的默认值。
  8. Then, it does the null check from the original code, finally calling the Struts addParameter() method.
    然后,它对原始代码进行null检查,最终调用StrutsaddParameter()方法。
  9. The last set includes a colon(:) between the variable name and the substitution operator, which adds the check to see if the variable is NULL, as well.
    后一组定义在变量名和替换操作符之间包含一个冒号(:),这会额外检查变量是否是NULL。
  10. That is why the null check was put in.
    这就是使用null检查的原因。
  11. The obvious issue is that the NULL check must be part of the while loop.
    明显的问题是NULL检查必须放在while循环中。
  12. In this case, I would have used the invocation handler itself to check whether the method called was the setPassword() method and length and null checks would happen directly in the handler.
    在这种情况下,我让调用处理程序自己检查调用它的方法是不是setPassword()方法,而长度和null检查也直接在处理程序中进行。
  13. A macro is called to check if the entry name syntax and the entry name is passed as NULL.
    调用一个宏检查传递的条目名称语法和条目名称是否为NULL。
  14. In addition to comparing the length and index values for equality, you must also check for either a null Number after parsing or an empty input string("" or length of zero).
    除了要比较长度和索引值是否相等之外,还必须检查是解析后的nullNumber还是一个空的输入字符串(“”或长度为0)
  15. Accordingly, you should always check that get() returns a non-null value before using its result, as it is expected that the referent will eventually be garbage collected.
    相应地,在使用其结果之前,应当总是检查get()是否返回一个非null值,因为referent最终总是会被垃圾收集的。
  16. The program needs to check and see if the current node is the NULL list.
    程序需要检查确认当前节点是否为NULL列表。
  17. I decided to return null, because when timeouts are not expected, this check could be skipped.
    我决定返回null,因为当预料不会超时的时候,可以跳过该检查。
  18. Check every field for NULL, and check every set, list, or map for EMPTY before you try to use it in any logic ( yes, even any error-checking logic).
    在逻辑(甚至是验错逻辑)中使用代码前,核对每个字段NULL为,每个集合、明细表和映射EMPTY。
  19. A disadvantage of returning null is that it forces a caller to check for null each time an object is obtained from the pool.
    返回null的缺点是,它强迫调用方在每次从池中获得对象时都检查是否为null。